<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>WCS-文件上传</title>
	<link href="assets/dist/bui/css/bs3/dpl-min.css" rel="stylesheet">
	<link href="assets/dist/bui/css/bs3/bui-min.css" rel="stylesheet">
	<link href="assets/dist/css/global.css" rel="stylesheet">
	<link href="assets/css/wcs-project.css" rel="stylesheet">
	<style type="text/css">
	body{min-width:0}
	</style>
</head>
<body>
	<div class="fileupload_page">
		<div class="uploadtip">
			<div><br></div>
			<div>
				<label>上传url[网宿云存储分配的上传地址]：</label>
				<input type="text" id="uploadUrlId" value="https://upload.videocc.net" readonly="readonly"/>
			</div>
			<div><br></div>
			<div>
				<label>获取tokenURL[后台服务器获取token的url]：</label>
				<!--<input type="text" id="getTokenUrlId" value="http://plupload.test.com/si/user/file/buildToken" readonly="readonly"/>-->
				<input type="text" id="getTokenUrlId" value="/testWeb/get-token" readonly="readonly"/>
			</div>
			<div><br></div>
			<div>
				<label>用户的AK[AK]：</label>
				<input type="text" id="akId" value="93fc9d1253552b79746da5a67d0653e60aa834c0" readonly="readonly"/>
			</div>
			<div><br></div>
			<div>
				<label>指定保存的空间[格式bucketName]：</label>
				<input type="text" id="bucketNameId" value="polyv" readonly="readonly"/>
			</div>
			<div><br></div>
			<div>
				<label>指定保存的文件夹[格式为dir1/dir2]：</label>
				<input type="text" id="parentPathId" value="plupload" readonly="readonly"/>
			</div>
			<div><br></div>
		</div>
		<div class="upload_contain">
			<div class="upload_header"  id="fileContain">
				<a href="javascript:;" class="fl button button-small button-darkblue" id="selectFile">上传文件</a>
				<div class="fr">
                <div class="icheck_wrap">
                    <input type="checkbox" id="fileOverWrite"/>
                    <label for="Prefix">文件覆盖</label>
                </div>
            </div>
			</div>
			<div class="upload_filelist">
				<p class="nulltip">您还没有选择任何文件</p>
				<table id="uploadFileTable">
					<tbody>
					</tbody>
				</table>

			</div>
		</div>
	</div>
	<script type="text/javascript" src="assets/js/plupload/plupload.full.min.js"></script>
	<script type="text/javascript" src="assets/js/upload/upload.js"></script>
	<script type="text/javascript" src="assets/js/jquery/jquery-3.0.0.min.js"></script>
	<script type="text/javascript">
		var uploader = UploadDemo.uploader({});
	</script>
</body>
</html>